package com.qianchang.microfinance.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 版 权: 深圳市迪蒙网络科技有限公司
 * 描 述: <服务器返回的分页数据>
 * 修 改 人: sushuo
 * 修改时间: 2017-4-14
 */

public class PageBean<T> implements Serializable {

    private int recordCount;
    private int pageIndex;
    private int pageSize;
    private int pageTotal;
    private boolean hasNextPage;
    private boolean hasPreviousPage;
    private List<T> list;

    public int getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(int recordCount) {
        this.recordCount = recordCount;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageTotal() {
        return pageTotal;
    }

    public void setPageTotal(int pageTotal) {
        this.pageTotal = pageTotal;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    public boolean isHasPreviousPage() {
        return hasPreviousPage;
    }

    public void setHasPreviousPage(boolean hasPreviousPage) {
        this.hasPreviousPage = hasPreviousPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}